//
//  IntersectionLocationEditMapViewController.h
//  Portable Traffic Signal Assistor
//
//  Created by Ding on 10/1/12.
//  Copyright (c) 2012 TTU. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
#import <CoreLocation/CoreLocation.h>
#import "MapPoint.h"
#import "SignalAnnotationView.h"
#import "PropertyReadingWritingClass.h"
#import "XMLParser.h"
#import "Intersection.h"
#import "SubSystem.h"
#import "Agency.h"
#import "TimingPattern.h"
#import "CustomizedBarButtonItem.h"

@interface IntersectionLocationEditMapViewController : UIViewController<CLLocationManagerDelegate,MKMapViewDelegate,UITextFieldDelegate>
{
    CLLocationManager *locationManager;
}
@property (retain, nonatomic) IBOutlet MKMapView *mapView;
@property (nonatomic,retain) Intersection* intersection;
@property (nonatomic,retain) Agency* agency;
@property (nonatomic,retain) SubSystem* subSystem;
//@property (nonatomic,retain) TimingPattern* timingPattern;

- (id)initWithNibNameAndSignal:(NSString *)nibNameOrNil intersection:(Intersection*)intersection agency:(Agency*)agency subSystem:(SubSystem*)subSystem bundle:(NSBundle *)nibBundleOrNil;

@end

